<template>
  <div class="com-container">
    <el-menu :default-openeds="['1', '3']" style="height: 100%;overflow: hidden"
             background-color="rgb(48, 65, 86)"
             text-color="#fff"
             active-text-color="#ffd04b"
             :collapse-transition="false"
             :collapse="isCollapse"
             router
    >
      <!--侧栏标题-->
      <div style="height: 60px; line-height: 60px; text-align: center">
        <img src="../../assets/logo.png" alt="" style="width: 20px; position: relative; top: 5px; margin-right: 5px">
        <b style="color: white" v-show="logoTextShow">新生信息管理系统</b>
      </div>

      <el-menu-item index="/screenPage">
        <i class="el-icon-house"></i>
        <span slot="title">首页</span>
      </el-menu-item>
      <el-submenu index="/manage">
        <template slot="title">
          <i class="el-icon-menu"></i>
          <span>学生信息管理</span>
        </template>
        <el-menu-item index="/manage/stuInfos">基本信息管理</el-menu-item>
      </el-submenu>

      <el-menu-item index="/manage/admainInfo">
        <i class="el-icon-setting"></i>
        <span slot="title">管理员信息</span>
      </el-menu-item>
    </el-menu>
  </div>
</template>

<script>
export default {
  name: "Aside",
  props: ['isCollapse', 'logoTextShow']
}
</script>

<style scoped>

</style>